portableSql

Abs Portable SQL Function

Syntax

Abs as N (Number as N)

Arguments

NumberNumeric

A numeric field or value.

Returns

resultNumeric

Returns the absolute value of the number.

Description

Returns the absolute value of a number.

Discussion

The Abs function returns the absolute value of a number.

Abs() function executed on the Northwind Access database
SELECT FIRST 1 abs(-12.4) AS EXPR1 FROM Products
 = 12.4